﻿@model SoftHotel.Models.ReservaEv

@{
    ViewBag.Title = "Invitados";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Reserva de Eventos</h2>

          <table id="MainContent_Table1" rules="none" style="border-color: Black; width: 900px; margin-bottom: 0px;">
	<tbody><tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Número de Reserva </td>
	  <td> 
          
         @Html.DisplayFor(model => model.numeroReserva)
          
        </td>

          <td style="font-weight: bold; width: 145px;" align="left">Estado</td>
	  <td style="width: 300px;"><div class="editor-field">
            @Html.DisplayFor(model => model.nomEstado)
          
        </div></td>
      </td>
	  
	</tr><tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Nombre/Raz&oacute;n Social </td>
	  <td><div class="editor-field">
            @Html.DisplayFor(model => model.nombreRazonSocial)
            
        </div> </td>
	  <td style="font-weight: bold;">Fecha de Reserva </td>
	  <td> @Html.DisplayFor(model => model.fechaCreacion)</td>
	</tr>
	<tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Tipo de documento</td>
	  <td><div class="editor-field">
            @Html.DisplayFor(model => model.tipoDocumento)
           
        </div></td>
	  <td style="font-weight: bold;">Total </td>
	  <td> @Html.DisplayFor(model => model.total) </td>
	</tr>
	<tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">N&uacute;mero de documento</td>
	  <td><div class="editor-field">
            @Html.DisplayFor(model => model.numeroDocumento)
         
        </div></td>
	  
	</tr>
	
</tbody></table>

<fieldset>
    <legend>Lista de Invitados</legend>

   @using (Html.BeginForm("Create","Invitado",FormMethod.Get))
{
        
        <p>
            @Html.HiddenFor(model => model.idReserva)
    
            <input type="submit" value="Crear" />
        
      
</p> }

   <div id="box" class="data" style="visibility:visible;">
                   @* Section to display partial forms *@ 
                   @Html.Action("_vistaInvitados", new { id = Model.idReserva })
                </div>



</fieldset>
@using (Html.BeginForm("Index","ReservaEv",FormMethod.Get))
{<p>
    <input type="submit" name="nuevo2" value="Volver" />
      
</p> }

